package it.blueocean.acanto.platform.model.common;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

public abstract class ABaseEntity implements Serializable
{
	private static final long serialVersionUID = 1L;

	/**
	 * Data di creazione.
	 */
	@Column(name = "CREATED", nullable = false, length = 19)
	@Temporal(TemporalType.DATE)
	private Date created;

	/**
	 * Nome del creatore della entit�.
	 */
	@Column(name = "CREATOR", nullable = false, length = 20)
	private String creator;

	/**
	 * Data di modifica.
	 */
	@Column(name = "MODIFIED", nullable = false, length = 19)
	@Temporal(TemporalType.DATE)
	private Date modified;

	/**
	 * Nome di chi ha modificato la entit�.
	 */
	@Column(name = "MODIFIER", nullable = false, length = 20)
	private String modifier;

	public Date getCreated()
	{
		return created;
	}

	public void setCreated(Date created)
	{
		this.created = created;
	}

	public String getCreator()
	{
		return creator;
	}

	public void setCreator(String creator)
	{
		this.creator = creator;
	}

	public Date getModified()
	{
		return modified;
	}

	public void setModified(Date modified)
	{
		this.modified = modified;
	}

	public String getModifier()
	{
		return modifier;
	}

	public void setModifier(String modifier)
	{
		this.modifier = modifier;
	}

}
